import http from "@/utils/request";

export const getSupplier = (params) => {
  //返回供应商列表
  return http.get("/supplier/list");
};

export const getDrug = (params) => {
  //返回药品列表
  return http.get("/drug/list", {
    params: {
      name: params,
    },
  });
};
